Readme for the certificate updating tool to update expired license certificates in TC binaries of older TC releases.

Note: 
	The patch will search recursively and update multiple TestCenter software versions' installed on the same host system. 

	It must be run on each host system. 

	It is not recommended running the patch tool from inside a Docker or Kubernetes container on a filesystem mounted 
	using NFS or mapped into the container by an orchestration environment. The cross environment filesystem permissions 
	can interfere with the patch tool’s ability to read directories and patch the certificates. Ideally it should be run 
	in the environment hosting the installed versions of TestCenter.

	Running the tool on already patched installations will have no effect.

Examples
	Linux standalone installs (file: "tc-patch-2025")
		1) Copy the file to the Linux machine
		2) Log into the Linux machine and issue the following commands:
		        cd <upload directory>
		        ./tc-patch-2025 <target directory>
		
		Example: 
			cd /home/admin
			./tc-patch-2025 /root/Spirent/API/Spirent_TestCenter_5.57
    	
	Windows (files: "tc-patch-2025.exe" - for 64-bit Windows OS*
	                "tc-patch-32-2025.exe" - for 32-bit Windows OS* 
	                *Note: this is not to be confused with the 32-bit and 64-bit TC applications)
		1) From the command prompt run: 'tc-patch-2025.exe <target directory>'
		2) Click "Yes" to User Account Control (UAC) elevation prompt.
		
		Example 1: 
			tc-patch-2025.exe "C:\Program Files\Spirent Communications"
		Example 2:
			tc-patch-2025.exe -y "C:\Program Files\Spirent Communications"
			Options: -y
				-y is for batch processing.
				Run this option only as a admin, you will not have a UAC prompt, and the extra cmd window.
				It is use case dependent… Some customers may have IT department deployments in batch mode.

	
	LabServer - deployed as a VM (file: "tc-patch-labserver-2025.tgz")
		1) Copy the file to the LabServer
		
		   Example:
		        scp tc-patch-labserver-2025.tgz admin@<labserver_ip_address>:/home/admin
		2) SSH to the LabServer as admin (UN/PW = admin/spirent)
		
		   Example:
		        ssh admin@<labserver_ip_address>
		3) Choose option [6] Shell Access
		4) Issue the following commands:
		         cd <upload directory>
		         tar xf tc-patch-labserver-2025.tgz
		         cd patch && ./update-labserver.sh
	
	LabServer - deployed within a docker container (file: "tc-patch-labserver-2025.tgz")
		1) Copy the file to the LabServer
		
		   Example:
		        scp tc-patch-labserver-2025.tgz <user>@<labserver_ip_address>:<user_home_folder>
		2) Log into the host machine and issue the following commands:
		        cd <upload directory>
		        tar xf tc-patch-labserver-2025.tgz
		        cd patch && ./update-labserver.sh

ver. 4